package dfbz.homework1;

public class Test12 {
    public static void main(String[] args) {
        int[] nums={5,10,15};
        int[] newArr=new int[3];
        for (int i = 0; i <nums.length ; i++) {
            newArr[i]=nums[i]*2;
            System.out.println(nums[i]);
        }
        for (int i = 0; i <newArr.length ; i++) {
            System.out.println(newArr[i]);
        }
    }
}
